package com.wjk.Demo06;

public class TestEat {
    public static void main(String[] args) {
        goeat(new Eat() {
            @Override
            public void eat() {
                System.out.println("老铁们奥，来点奥力给");
            }
        });
    }

    public static void goeat(Eat e){
        e.eat();
    }
}

interface Eat{
    void eat();
}
